package com.jinxin.platform.cdcardpassmgr.service;

import com.jinxin.platform.base.common.pojo.JsonResult;
import com.jinxin.platform.cdcardpassmgr.bean.CdcardpassmgrCard;
import com.jinxin.platform.cdcardpassmgr.common.ResultEntity;
import org.springframework.web.multipart.MultipartFile;

import java.util.HashMap;
import java.util.List;

/**
 * All rights Reserved, Designed By www.beonelot.com
 *
 * @version: V1.0
 * @Copyright: www.beonelot.com Inc. All rights reserved.
 * @Description：
 * @Date: 2021-06-30
 * @Author: Lingnan
 **/
public interface ICardpassmgrCardService {

    CdcardpassmgrCard selectOne(HashMap param);

    List<CdcardpassmgrCard> list(HashMap param);

    List<CdcardpassmgrCard> listPage(HashMap param);

    int listPageCount(HashMap param);

    JsonResult delete(String id);

    JsonResult saveOrUpdate(CdcardpassmgrCard card);

    JsonResult deleteAll(String params);

    ResultEntity uploadCard(MultipartFile file, String projectId,String projectName) throws Exception;
}
